<h1>Crm mailing users List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>User</th>
      <th>Mailing</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Validated at</th>
      <th>Is validated</th>
      <th>Removed at</th>
      <th>Remove it</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($crm_mailing_users as $crm_mailing_user): ?>
    <tr>
      <td><a href="<?php echo url_for('mailingUser/show?id='.$crm_mailing_user->getId()) ?>"><?php echo $crm_mailing_user->getId() ?></a></td>
      <td><?php echo $crm_mailing_user->getUserId() ?></td>
      <td><?php echo $crm_mailing_user->getMailingId() ?></td>
      <td><?php echo $crm_mailing_user->getCreatedAt() ?></td>
      <td><?php echo $crm_mailing_user->getUpdatedAt() ?></td>
      <td><?php echo $crm_mailing_user->getValidatedAt() ?></td>
      <td><?php echo $crm_mailing_user->getIsValidated() ?></td>
      <td><?php echo $crm_mailing_user->getRemovedAt() ?></td>
      <td><?php echo $crm_mailing_user->getRemoveIt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('mailingUser/new') ?>">New</a>
